#! /bin/bash
#source /ect/profile
export JAVA_HOME=/usr/local/jdk1.6/jdk1.6.0_31
cd /root/falcon-code/
/usr/local/apache-maven-2.2.1/bin/mvn -Dmaven.test.skip=true clean install 
#&& mv ./falcon-controller/target/falcon-controller.war /root/falcon-war/work/falcon-controller.war
echo "maven build successfully ^_^"
#echo "war is moved to falcon-war/work,pls.check"
